using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BlogKickStart.Models
{
	

    public class User
    {
		[Key]
		public int? UserID { get; set; }
		[Required]
        public string FirstNM { get; set; }
		[Required]
        public string LastNM { get; set; }
        [Required]
		public DateTime Birthday { get; set; }

        public DateTime? CreateDate { get; set; }
        
		public int? BlogID { get; set; }
        [Required]
		public string Pass { get; set; }
        [Required]
		public string UserName { get; set; }
        
		//public virtual Blog Blog { get; set; }
    }
}
